package com.dwxt.cms.dao;

import com.dwxt.cms.entity.ModuleFunction;
import com.dwxt.cms.entity.ModuleFunctionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModuleFunctionMapper {
    long countByExample(ModuleFunctionExample example);

    int deleteByExample(ModuleFunctionExample example);

    int deleteByPrimaryKey(String functionId);

    int insert(ModuleFunction record);

    int insertSelective(ModuleFunction record);

    List<ModuleFunction> selectByExample(ModuleFunctionExample example);

    ModuleFunction selectByPrimaryKey(String functionId);

    int updateByExampleSelective(@Param("record") ModuleFunction record, @Param("example") ModuleFunctionExample example);

    int updateByExample(@Param("record") ModuleFunction record, @Param("example") ModuleFunctionExample example);

    int updateByPrimaryKeySelective(ModuleFunction record);

    int updateByPrimaryKey(ModuleFunction record);
}